package config

type ServerConfig struct {
	ServerName   string
	IP           string
	Port         int
	MysqlConfig  MysqlConfig
	LoggerConfig LoggerConfig
	NacosConfig  NacosConfig
	ConsulConfig ConsulConfig
	EsConfig     EsConfig
}
type MysqlConfig struct {
	User     string
	Password string
	Host     string
	Port     int
	DbName   string
}
type EsConfig struct {
	EsHost string
	EsPort int
}
type NacosConfig struct {
	Namespace       string
	IpAddr          string
	ServerPort      int
	ServerGroupPort int
	DataId          string
	Group           string
	LogDir          string
	CacheDir        string
	LogLevel        string
}
type LoggerConfig struct {
	Path string
}

type ConsulConfig struct {
	ConsulHost string
	ConsulPort int
	Tags       []string
}
